<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<link href="./css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>

<!--main start -->
<div id="main">
	
	<!--left panel start -->
	<jsp:include page="common/left.jsp"></jsp:include>
	<!--left panel end -->
	
	<!--right panel start -->
	<div id="right">
		<jsp:include page="common/header.jsp"></jsp:include>
		
		<!--rightBotMain start -->
		<div id="rightBotMain">
			<!--rightBot start -->
			<div id="rightBot">
				<p class="top"></p>
				<!--rightBot2 start -->
				<div id="rightBot2">
				<h1>Real-Time News</h1>
				<a href="" class="whatSp"></a>
				<ul class="rightLink1">
				<c:forEach items="${newsList}" var="news">
					<li><a href="showSingleNews.do?id=${news.id }">${news.topic}-${news.publishTime }</a></li>
				</c:forEach>
				</ul>
				<br class="spacer" />
				</div>
				<!--rightBot2 end -->
				<p class="bot"></p>
				<br class="spacer" />
			</div>
			<!--rightBot end -->
			
			<br class="spacer" />
			
			<!--best start -->
			<jsp:include page="common/frontnews.jsp"></jsp:include>
			<!--best end -->
			
		</div>
		<!--rightBotMain end -->
		
		<!--last panel start -->
			<jsp:include page="common/right.jsp"></jsp:include>
		<!--last panel end -->
		
		<br class="spacer" />
	</div>
	<!--right panel end -->
	<br class="spacer" />
</div>
<!--main end -->

<!--footerMain start -->
<div id="footerMain">
  <jsp:include page="common/footer.jsp"></jsp:include>
</div>
<!--footerMain end -->

</body>
</html>